Constants
Shared constants between device and phone
Content copied to clipboard
meshtastic.Constants
Properties
Link copied to clipboard
From mesh.options
note: this payload length is ONLY the bytes that are sent inside of the Data protobuf (excluding protobuf overhead). The 16 byte header is
outside of this envelope
Content copied to clipboard
DATA_PAYLOAD_LEN = 233;
Link copied to clipboard
First enum must be zero, and we are just using this enum to
pass int constants between two very different environments
Content copied to clipboard
ZERO = 0;
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.